
/**
 * This controller is invoqued when a new user is accepted in the application.
 * @author eKameleon
 */
if ( ewhiteboard.controller.application.AcceptApplication == undefined ) 
{

	/**
	 * Creates a new AcceptApplication instance. 
	 */
	ewhiteboard.controller.application.AcceptApplication = function () 
	{
		//		
	}
	
	/**
	 * @extends andromeda.controller.AbstractController
	 */
	proto = ewhiteboard.controller.application.AcceptApplication.extend( andromeda.controller.AbstractController ) ;

	/**
	 * Handles the event.
	 */
	proto.handleEvent = function ( e /*ApplicationEvent*/ ) 
	{
		
		var client = e.client ;
		
		var users /*MapModel*/ = andromeda.model.ModelCollector.get( MODEL_LIST.USER_MODEL ) ;
		
		var user /*UserVO*/ = users.getVO( client.id ) ;
		
		LOGGER.debug(this + " handleEvent : " + user) ;
		
		
	}
	
	delete proto ;
	
}